package com.example.matuo

import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity
import io.flutter.plugin.common.MethodChannel

class MainActivity: FlutterActivity(){
//    private val kSatelliteInfoChannel = "satellite_info_channel"
//
//    override fun onCreate(savedInstanceState: Bundle?) {
//        super.onCreate(savedInstanceState)
//        MethodChannel(flutterView, kSatelliteInfoChannel).setMethodCallHandler { call, result ->
//            if (call.method == "getSatelliteCount") {
//                // 实现获取卫星数量的逻辑
//                val satelliteCount: Int = // 获取卫星数量的逻辑
//                        result.success(satelliteCount)
//            } else {
//                result.notImplemented()
//            }
//        }
//    }
}
